package cn.iocoder.yudao.module.system.controller.admin.mini.other.lottery.convert.lottery;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.system.controller.admin.mini.other.lottery.controller.admin.lottery.vo.LotteryCreateReqVO;
import cn.iocoder.yudao.module.system.controller.admin.mini.other.lottery.controller.admin.lottery.vo.LotteryExcelVO;
import cn.iocoder.yudao.module.system.controller.admin.mini.other.lottery.controller.admin.lottery.vo.LotteryRespVO;
import cn.iocoder.yudao.module.system.controller.admin.mini.other.lottery.controller.admin.lottery.vo.LotteryUpdateReqVO;
import cn.iocoder.yudao.module.system.controller.admin.mini.other.lottery.dal.dataobject.lottery.LotteryDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 抽奖 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface LotteryConvert {

    LotteryConvert INSTANCE = Mappers.getMapper(LotteryConvert.class);

    LotteryDO convert(LotteryCreateReqVO bean);

    LotteryDO convert(LotteryUpdateReqVO bean);

    LotteryRespVO convert(LotteryDO bean);

    List<LotteryRespVO> convertList(List<LotteryDO> list);

    PageResult<LotteryRespVO> convertPage(PageResult<LotteryDO> page);

    List<LotteryExcelVO> convertList02(List<LotteryDO> list);

}
